package com.equipment.fkdcn.mapper;

import com.equipment.fkdcn.pojo.Repair;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface RepairMapper {
    //维修功能

    //查询所有
    List<Repair> allQuery();

    //删除功能
    boolean del(@Param("id")int id);

    //新增

    boolean addRepair(@Param("rep") Repair repair);


    boolean addRepair2(@Param("map") HashMap<String,String> repair);

}
